\hypertarget{classGLCanvasPane}{
\section{GLCanvasPane Class Reference}
\label{classGLCanvasPane}\index{GLCanvasPane@{GLCanvasPane}}
}


Pane to create visualization with OpenGL.  


{\ttfamily \#include $<$GLCanvasPane.h$>$}\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structGLCanvasPane_1_1ColorTable}{ColorTable}
\begin{DoxyCompactList}\small\item\em Structure with red, green, and blue components of color in decimal form. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classGLCanvasPane_af25686cc9370b1abdc662ce90f2b99d6}{GLCanvasPane} (wxWindow $\ast$parent, wxWindowID winid=wxID\_\-ANY, const wxPoint \&pos=wxDefaultPosition, const wxSize \&size=wxDefaultSize, long style=wxTAB\_\-TRAVERSAL$|$wxNO\_\-BORDER, const wxString \&name=\_\-T(\char`\"{}GLCanvasPane\char`\"{}), int $\ast$gl\_\-attrib=\hyperlink{GLCanvasPane_8h_a56d48f3eda707ae3417c2c4b391b1135}{gl\_\-attrib\_\-system})
\item 
virtual \hyperlink{classGLCanvasPane_a2c76dcd348d21cb342cc1e3e6bf2adf3}{$\sim$GLCanvasPane} ()
\item 
void \hyperlink{classGLCanvasPane_a692f654ad5bfd08227dc4b79fd2d7329}{OnPaint} (wxPaintEvent \&event)
\item 
void \hyperlink{classGLCanvasPane_ad1beb7db47cf3c4091fdcac82f9c39a2}{OnSize} (wxSizeEvent \&event)
\item 
void \hyperlink{classGLCanvasPane_af9ecc868a28fea080414c540abb92750}{OnEraseBackground} (wxEraseEvent \&event)
\item 
void \hyperlink{classGLCanvasPane_a1d6605efee33a548b79834e2141436b4}{renderScene} ()
\begin{DoxyCompactList}\small\item\em \char`\"{}Main\char`\"{} method sets up and makes all calls \item\end{DoxyCompactList}\item 
void \hyperlink{classGLCanvasPane_a022de753766a6a5397c999204a8dd3e1}{SetDataPointer} (\hyperlink{classGeoData}{GeoData} $\ast$\hyperlink{classGLCanvasPane_ace411189498e5e5b94d3ff3ea412d342}{data}, int x, int y)
\item 
\hyperlink{classGLCanvasPane_a2cc9ad86fe07a1d7a2579edaed7ca0ac}{DECLARE\_\-EVENT\_\-TABLE} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classGLCanvasPane_af262c3a795587baa0e655b85697547e8}{drawrect} (double j, double i)
\begin{DoxyCompactList}\small\item\em Draws rectangle. \item\end{DoxyCompactList}\item 
void \hyperlink{classGLCanvasPane_a8e424fa5b88a01f592dccf851e324a4f}{scale} ()
\item 
int \hyperlink{classGLCanvasPane_abcd7c8f2f2741aac6b78d8ee7217d662}{GetColorIndex} (int x, int y)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{classGLCanvasPane_a1a0ec3e4d18300f1b2309b0b78b33bec}{w}
\item 
int \hyperlink{classGLCanvasPane_a291689c1555e1220f193013d470cc6be}{x\_\-size}
\item 
int \hyperlink{classGLCanvasPane_ae9686296f32b60603125fcc42c219bde}{y\_\-size}
\item 
double \hyperlink{classGLCanvasPane_ab6ab52970edcb0d23f23a6b42d627fe4}{max}
\item 
double \hyperlink{classGLCanvasPane_a1d0d93c5211768e6a54e2ed5a7a63665}{min}
\item 
\hyperlink{classGeoData}{GeoData} $\ast$ \hyperlink{classGLCanvasPane_ace411189498e5e5b94d3ff3ea412d342}{data}
\item 
GLboolean \hyperlink{classGLCanvasPane_ad8957b5717a0a664cb85411e3dbb78d8}{smooth}
\item 
GLboolean \hyperlink{classGLCanvasPane_a03480f7a8066f27bfde4fad803080ab4}{lighting}
\item 
\hyperlink{structGLCanvasPane_1_1ColorTable}{ColorTable} \hyperlink{classGLCanvasPane_afee2accb82152fe23384265df49acde7}{Rainbow} \mbox{[}NCOLORS\mbox{]}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Pane to create visualization with OpenGL. Written by Gabe to show data 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classGLCanvasPane_af25686cc9370b1abdc662ce90f2b99d6}{
\index{GLCanvasPane@{GLCanvasPane}!GLCanvasPane@{GLCanvasPane}}
\index{GLCanvasPane@{GLCanvasPane}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{GLCanvasPane}]{\setlength{\rightskip}{0pt plus 5cm}GLCanvasPane::GLCanvasPane (wxWindow $\ast$ {\em parent}, \/  wxWindowID {\em winid} = {\ttfamily wxID\_\-ANY}, \/  const wxPoint \& {\em pos} = {\ttfamily wxDefaultPosition}, \/  const wxSize \& {\em size} = {\ttfamily wxDefaultSize}, \/  long {\em style} = {\ttfamily wxTAB\_\-TRAVERSAL~$|$~wxNO\_\-BORDER}, \/  const wxString \& {\em name} = {\ttfamily \_\-T(\char`\"{}GLCanvasPane\char`\"{})}, \/  int $\ast$ {\em gl\_\-attrib} = {\ttfamily {\bf gl\_\-attrib\_\-system}})}}
\label{classGLCanvasPane_af25686cc9370b1abdc662ce90f2b99d6}
\hypertarget{classGLCanvasPane_a2c76dcd348d21cb342cc1e3e6bf2adf3}{
\index{GLCanvasPane@{GLCanvasPane}!$\sim$GLCanvasPane@{$\sim$GLCanvasPane}}
\index{$\sim$GLCanvasPane@{$\sim$GLCanvasPane}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{$\sim$GLCanvasPane}]{\setlength{\rightskip}{0pt plus 5cm}GLCanvasPane::$\sim$GLCanvasPane ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classGLCanvasPane_a2c76dcd348d21cb342cc1e3e6bf2adf3}


\subsection{Member Function Documentation}
\hypertarget{classGLCanvasPane_a2cc9ad86fe07a1d7a2579edaed7ca0ac}{
\index{GLCanvasPane@{GLCanvasPane}!DECLARE\_\-EVENT\_\-TABLE@{DECLARE\_\-EVENT\_\-TABLE}}
\index{DECLARE\_\-EVENT\_\-TABLE@{DECLARE\_\-EVENT\_\-TABLE}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{DECLARE\_\-EVENT\_\-TABLE}]{\setlength{\rightskip}{0pt plus 5cm}GLCanvasPane::DECLARE\_\-EVENT\_\-TABLE ()}}
\label{classGLCanvasPane_a2cc9ad86fe07a1d7a2579edaed7ca0ac}
\hypertarget{classGLCanvasPane_af262c3a795587baa0e655b85697547e8}{
\index{GLCanvasPane@{GLCanvasPane}!drawrect@{drawrect}}
\index{drawrect@{drawrect}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{drawrect}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::drawrect (double {\em j}, \/  double {\em i})\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_af262c3a795587baa0e655b85697547e8}


Draws rectangle. \hypertarget{classGLCanvasPane_abcd7c8f2f2741aac6b78d8ee7217d662}{
\index{GLCanvasPane@{GLCanvasPane}!GetColorIndex@{GetColorIndex}}
\index{GetColorIndex@{GetColorIndex}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{GetColorIndex}]{\setlength{\rightskip}{0pt plus 5cm}int GLCanvasPane::GetColorIndex (int {\em x}, \/  int {\em y})\hspace{0.3cm}{\ttfamily  \mbox{[}inline, private\mbox{]}}}}
\label{classGLCanvasPane_abcd7c8f2f2741aac6b78d8ee7217d662}
\hypertarget{classGLCanvasPane_af9ecc868a28fea080414c540abb92750}{
\index{GLCanvasPane@{GLCanvasPane}!OnEraseBackground@{OnEraseBackground}}
\index{OnEraseBackground@{OnEraseBackground}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{OnEraseBackground}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::OnEraseBackground (wxEraseEvent \& {\em event})}}
\label{classGLCanvasPane_af9ecc868a28fea080414c540abb92750}
\hypertarget{classGLCanvasPane_a692f654ad5bfd08227dc4b79fd2d7329}{
\index{GLCanvasPane@{GLCanvasPane}!OnPaint@{OnPaint}}
\index{OnPaint@{OnPaint}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{OnPaint}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::OnPaint (wxPaintEvent \& {\em event})}}
\label{classGLCanvasPane_a692f654ad5bfd08227dc4b79fd2d7329}
\hypertarget{classGLCanvasPane_ad1beb7db47cf3c4091fdcac82f9c39a2}{
\index{GLCanvasPane@{GLCanvasPane}!OnSize@{OnSize}}
\index{OnSize@{OnSize}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{OnSize}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::OnSize (wxSizeEvent \& {\em event})}}
\label{classGLCanvasPane_ad1beb7db47cf3c4091fdcac82f9c39a2}
\hypertarget{classGLCanvasPane_a1d6605efee33a548b79834e2141436b4}{
\index{GLCanvasPane@{GLCanvasPane}!renderScene@{renderScene}}
\index{renderScene@{renderScene}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{renderScene}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::renderScene ()}}
\label{classGLCanvasPane_a1d6605efee33a548b79834e2141436b4}


\char`\"{}Main\char`\"{} method sets up and makes all calls \hypertarget{classGLCanvasPane_a8e424fa5b88a01f592dccf851e324a4f}{
\index{GLCanvasPane@{GLCanvasPane}!scale@{scale}}
\index{scale@{scale}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{scale}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::scale ()\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_a8e424fa5b88a01f592dccf851e324a4f}
\hypertarget{classGLCanvasPane_a022de753766a6a5397c999204a8dd3e1}{
\index{GLCanvasPane@{GLCanvasPane}!SetDataPointer@{SetDataPointer}}
\index{SetDataPointer@{SetDataPointer}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{SetDataPointer}]{\setlength{\rightskip}{0pt plus 5cm}void GLCanvasPane::SetDataPointer ({\bf GeoData} $\ast$ {\em data}, \/  int {\em x}, \/  int {\em y})}}
\label{classGLCanvasPane_a022de753766a6a5397c999204a8dd3e1}


\subsection{Member Data Documentation}
\hypertarget{classGLCanvasPane_ace411189498e5e5b94d3ff3ea412d342}{
\index{GLCanvasPane@{GLCanvasPane}!data@{data}}
\index{data@{data}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf GeoData}$\ast$ {\bf GLCanvasPane::data}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_ace411189498e5e5b94d3ff3ea412d342}
\hypertarget{classGLCanvasPane_a03480f7a8066f27bfde4fad803080ab4}{
\index{GLCanvasPane@{GLCanvasPane}!lighting@{lighting}}
\index{lighting@{lighting}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{lighting}]{\setlength{\rightskip}{0pt plus 5cm}GLboolean {\bf GLCanvasPane::lighting}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_a03480f7a8066f27bfde4fad803080ab4}
\hypertarget{classGLCanvasPane_ab6ab52970edcb0d23f23a6b42d627fe4}{
\index{GLCanvasPane@{GLCanvasPane}!max@{max}}
\index{max@{max}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{max}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf GLCanvasPane::max}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_ab6ab52970edcb0d23f23a6b42d627fe4}
\hypertarget{classGLCanvasPane_a1d0d93c5211768e6a54e2ed5a7a63665}{
\index{GLCanvasPane@{GLCanvasPane}!min@{min}}
\index{min@{min}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{min}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf GLCanvasPane::min}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_a1d0d93c5211768e6a54e2ed5a7a63665}
\hypertarget{classGLCanvasPane_afee2accb82152fe23384265df49acde7}{
\index{GLCanvasPane@{GLCanvasPane}!Rainbow@{Rainbow}}
\index{Rainbow@{Rainbow}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{Rainbow}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ColorTable} {\bf GLCanvasPane::Rainbow}\mbox{[}NCOLORS\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_afee2accb82152fe23384265df49acde7}
\hypertarget{classGLCanvasPane_ad8957b5717a0a664cb85411e3dbb78d8}{
\index{GLCanvasPane@{GLCanvasPane}!smooth@{smooth}}
\index{smooth@{smooth}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{smooth}]{\setlength{\rightskip}{0pt plus 5cm}GLboolean {\bf GLCanvasPane::smooth}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_ad8957b5717a0a664cb85411e3dbb78d8}
\hypertarget{classGLCanvasPane_a1a0ec3e4d18300f1b2309b0b78b33bec}{
\index{GLCanvasPane@{GLCanvasPane}!w@{w}}
\index{w@{w}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{w}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf GLCanvasPane::w}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_a1a0ec3e4d18300f1b2309b0b78b33bec}
\hypertarget{classGLCanvasPane_a291689c1555e1220f193013d470cc6be}{
\index{GLCanvasPane@{GLCanvasPane}!x\_\-size@{x\_\-size}}
\index{x\_\-size@{x\_\-size}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{x\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf GLCanvasPane::x\_\-size}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_a291689c1555e1220f193013d470cc6be}
\hypertarget{classGLCanvasPane_ae9686296f32b60603125fcc42c219bde}{
\index{GLCanvasPane@{GLCanvasPane}!y\_\-size@{y\_\-size}}
\index{y\_\-size@{y\_\-size}!GLCanvasPane@{GLCanvasPane}}
\subsubsection[{y\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf GLCanvasPane::y\_\-size}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classGLCanvasPane_ae9686296f32b60603125fcc42c219bde}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
\hyperlink{GLCanvasPane_8h}{GLCanvasPane.h}\item 
\hyperlink{GLCanvasPane_8cpp}{GLCanvasPane.cpp}\end{DoxyCompactItemize}
